package cn.wellwan.mybatis.service.impl;

import cn.wellwan.mybatis.dao.UserDao;
import cn.wellwan.mybatis.entity.User;
import cn.wellwan.mybatis.service.IUserService;

import java.util.List;

/**
 * creator: maokai
 * on: 2018/3/7
 * description:
 */
public class UserServiceImpl implements IUserService {

    private UserDao userDao;

    public UserDao getUserDao () {
        return userDao;
    }

    public void setUserDao (UserDao userDao) {
        this.userDao = userDao;
    }


    @Override
    public List<User> findUserList () {
        return userDao.selectUserList();
    }
}
